#pragma once

class CtrlBox;

class Gui: public IResource
{
public:
	Gui(const std::string& path);
	~Gui();

	/*-IResource----------------------------------------------------------------*/

	/*--------------------------------------------------------------------------*/

	CtrlRoot* GetRoot();
	void Reload();

	const std::string& GetPath() const;
	void SetPath(const std::string& path);

private:
	void LoadFromFile();
	CtrlRoot* m_bgbox;
	std::string m_path;
};
